package com.sskj.market.http;


import com.sskj.lib.BaseHttpConfig;

/**
 * 作者 :吕志豪
 * 简书：https://www.jianshu.com/u/6e525b929aac
 * github：https://github.com/lvzhihao100
 * 描述：网络接口地址
 */
public class HttpConfig {
    public static final int OK = BaseHttpConfig.OK;
    public static final String BASE_URL = BaseHttpConfig.BASE_URL;
    public static final String BASE_IMG_URL = BaseHttpConfig.BASE_SHOP_IMG_URL;

    /**
     * 获取热门商品列表
     */
    public static final String MARKET_GET_HOT_SHOPPING_DATA = "/api/mallproduct/hotGoodsList";

    /**
     * 商品搜索
     */
    public static final String MARKET_SHOP_SEARCH = "/api/mallproduct/goodsSearch";

    /**
     * 获取分类轮播图
     */
    public static final String MARKET_GET_SHOP_BANNER_DATA = "/api/mallproduct/cateList";

    /**
     * 添加收货地址
     */
    public static final String MARKET_ADD_ADDRESS = "/api/address/add";

    /**
     * 我的收货地址
     */
    public static final String MARKET_GET_MY_ADDRESS = "/api/address/index";

    /**
     * 删除收货地址
     */
    public static final String MARKET_DELETE_MY_ADDRESS = "/api/address/delAddress";

    /**
     * 设置默认地址
     */
    public static final String MARKET_SET_DETAILS_ADDRESS = "/api/address/setDefault";

    /**
     * 获取收获地址信息
     */
    public static final String MARKET_GET_ADDRESS_DATA = "/api/address/addressInfo";

    /**
     * 获取商城分类信息
     */
    public static final String MARKET_GET_GOOD_CATEGORY_DATA = "/api/mallproduct/productList";
    /**
     * 获取商品详情
     */
    public static final String MARKET_GET_SHOP_DETAILS = "/api/mallproduct/goodsInfo";

    /**
     * 编辑收货地址
     */
    public static final String MARKET_EDITOR_ADDRESS = "/api/address/edit";

    /**
     * 获取默认收货地址
     */
    public static final String MARKET_DEFAULT_ADDRESS = BASE_URL + "/api/address/getDefaultAddress";

    /**
     * 创建订单
     */
    public static final String MARKET_ORDER_CREATE = BASE_URL + "/api/mallorder/create";

    /**
     * 订单详情
     */
    public static final String MARKET_ORDER_DETAILS = BASE_URL + "/api/mallorder/orderInfo";

    /**
     * 全部订单
     */
    public static final String MARKET_ALL_ORDER = BASE_URL + "/api/mallorder/orderAll";

    /**
     * 对应状态订单
     */
    public static final String MARKET_ORDER_STATUS = BASE_URL + "/api/mallorder/orderGet";

    /**
     * 订单支付
     */
    public static final String MARKET_ORDER_PAY = BASE_URL + "/api/mallorder/handlePay";
    /**
     * 确认订单
     */
    public static final String MARKET_ORDER_ENAURE = BASE_URL + "/api/mallorder/orderReceive";
    /**
     * 取消订单
     */
    public static final String MARKET_ORDER_CANCEL = BASE_URL + "/api/mallorder/cancelOrder";
    /**
     * 删除订单
     */
    public static final String MARKET_ORDER_DELETE = BASE_URL + "/api/mallorder/orderDelete";

    /**
     * 客服
     */
    public static final String MARKET_SERVICES = BASE_URL + "/api/mallproduct/customerService";
}
